/**
 * Created by YangYan on 2016/5/28.
 */
(function () {
    var mytime=setInterval(function () {
        getTime();
    },1000);
    function getTime() {
        var d=new Date();
        var t=d.toLocaleTimeString();
        document.getElementById("Ptime").innerHTML=t;

    };
})();